package com.msb.mall.order.feign;

import com.msb.common.utils.R;
import com.msb.mall.order.config.productServiceFeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author zhangjiajun
 * @Description
 * @Date 2025/5/19 15:01
 */
@FeignClient(name = "mall-producet", configuration = productServiceFeignConfiguration.class)  //指明要从注册中心中发现服务的名称
public interface  ProducetService {

    /**
     * 需要访问的远程方法
     * @return
     */
    @GetMapping("/producet/brand/all")
    public R queryAllBrand();
}
